package com.lu.dao.mapper;

import com.lu.dao.po.WgSubmitRecord;
import com.lu.dao.po.WgSubmitRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WgSubmitRecordMapper {
    int countByExample(WgSubmitRecordExample example);

    int deleteByExample(WgSubmitRecordExample example);

    int insert(WgSubmitRecord record);

    int insertSelective(WgSubmitRecord record);

    List<WgSubmitRecord> selectByExample(WgSubmitRecordExample example);

    int updateByExampleSelective(@Param("record") WgSubmitRecord record, @Param("example") WgSubmitRecordExample example);

    int updateByExample(@Param("record") WgSubmitRecord record, @Param("example") WgSubmitRecordExample example);

    /**
    * @description 查询当前用户待完成得任务
    * @author luke
    * @date 2021/7/13 15:13
    * @return List<WgSubmitRecord>
    */
    List<WgSubmitRecord> queryTask(@Param("gameId") String gameId, @Param("openId") String openId);

}